﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sshd.aspx.cs" Inherits="sshd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>师生互动</title>
    <!-- #include file="head.htm"-->
    <link href="css/docinapi.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<!-- #include file="header.htm"-->

<div class="wapper">

<!--main-->
<div class="main clear">
	

    <!--side-->
	<!-- #include file="quicklink.htm"-->
    <!--side end-->

	<div class="content">	
	<!--overview-col-->
	<div class="overview-col">
	<asp:Repeater ID="Repeater1" runat="server">            
         <ItemTemplate>
	        <%--<h3>
	        <span <%# CheckEmergency((bool)DataBinder.Eval(Container.DataItem,"emergency")) %> >
	            <%# DataBinder.Eval(Container.DataItem,"id") %>：<%# DataBinder.Eval(Container.DataItem,"name") %>
	        </span>
	        </h3>--%>
	        <dl>
	        <dt>发布人：<span <%# CheckType((string)DataBinder.Eval(Container.DataItem,"type")) %> ><%# DataBinder .Eval (Container .DataItem ,"created_by") %></span>&nbsp;&nbsp;(<%# getTypeName((string)DataBinder.Eval(Container.DataItem,"type")) %>)</dt>
	        <dd><%# DataBinder.Eval(Container.DataItem,"text") %></dd>
	        <dd><div style=" text-align:right;">发布时间：<%# DataBinder.Eval(Container.DataItem,"created_at") %></div></dd>
	        </dl>
	        <br />
	        <HR style="border:1 dashed #987cb9" width="90%" color=#B3D9EC SIZE=1>
	        <br />
	     </ItemTemplate>
     </asp:Repeater>		
	</div>
	<!--overview-col end-->	
	
	<br /><br />
	
	<div>
        <table style="width: 700px" >
        <tr>
        <td  valign ="bottom" style="width: 769px; height: 29px"><asp:TextBox runat="server" ID="txb" TextMode="MultiLine" Width="100%"  Height ="120px" Text ="" Font-Size="Medium" ></asp:TextBox></td>
        </tr>
        <tr>
        <td align ="right" >
            <asp:Label  runat ="server" ID ="lbmeg2" Text ="" ForeColor="red" ></asp:Label>
            <asp:Button  runat ="server" ID="button" CssClass="submit" OnClick="button_Click" Text="提交" />
        </tr>
        </table>    
    </div>
	
	
	</div> 	
</div>
<!--main end-->
 <div id="feny">
       <ul><!-- 上一页 -->
       
            <% 
                for (int i = 1; i <= pages; i++) 
               {
                   if (i == page)
                   {
                        %><li><a style="color: rgb(255, 255, 255);" class="current_ss" href="#"><%=i.ToString()%></a></li><%
                   }
                   else
                   {
                       string u = page_url.Replace("[i]", i.ToString());
                        %><li><a href="<%=u %>"><%=i.ToString()%></a></li><%
                   }
               } 
            %>	      
        <!-- 下一页 -->
    	    <% 
                if (page == pages)
                {
                     %><li><a href="#">&gt;</a></li><%
                }
                else
                {
                    int cp = page + 1;
                    string scp = cp.ToString();
                    string u2 = page_url.Replace("[i]", scp);
                    %><li><a href="<%=u2 %>">&gt;</a></li><%
                }
    	     %>
	        
    		
        </ul>
    </div>
    </div>


<!-- #include file="footer.htm"-->

</form>
</body>
</html>

